<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>bala</title>
</head>
<body>
<h1>oauth demo</h1>

<a href="http://localhost:8080/oauth/authorize?client_id=c1&response_type=code&scope=all&redirect_uri=http://localhost:8081/index.html">第三方登录</a>

<h1 th:text="${msg}"></h1>

<form action="http://localhost:8081/login" method="post">
    <label>账号</label>
    <input name="username" />
    <label>密码</label>
    <input type="password" name="password" />

    <input type="submit">
</form>

</body>
</html>